package com.personal.common.errorCode;

public class ErrorCode {
	public static final String ok="0";
	
	public static final String noPermission="noPermission";//没有权限
	public static final String sessionTimeout="sessionTimeout";//登录超时
	public static final String userNotExists="userNotExists";//用户不存在
	public static final String userOrPasswordWrong="userOrPasswordWrong";//用户名密码错误
	public static final String userLock="userLock";//用户被锁掉
	public static final String passwordOverdue="passwordOverdue";//密码过期
	
	public static final String userHasNoRole="userHasNoRole";//用户没有角色
	public static final String noBindIp="noBindIp";//用户不能在此机器上访问
	public static final String noBindTime="noBindTime";//用户不允许在此时间段内登录
	public static final String userOverdue="userOverdue";//用户过期
	public static final String userCancel="userCancel";//用户被注销
	public static final String loginSuccess="loginSuccess";//登录成功
	

	public static final String paramError="paramError";//参数校验错误
	public static final String tokenInvalid="tokenInvalid";//token非法
	
	public static final String tokenExpired = "tokenExpired";//token失效
	
	public static final String ipDifferentTokenIp="ipDifferentTokenIp";//ip与登录时的ip不一致
}
